<%--
  Created by IntelliJ IDEA.
  User: drophair
  Team: 深藏blow
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>后台管理员</title>
    <script src="/js/jquery-3.4.1.min.js"></script>
    <link rel="stylesheet" href="/css/bootstrap.min.css">
</head>
<body style="background:url(/img/ys.jpg);background-size: cover">
<%
    String error="";
    error=(String) request.getAttribute("error");
    Cookie[] cookies=request.getCookies();
    for(Cookie cookie:cookies){
        if(cookie.getName().equals("uwho")){
            System.out.println(cookie.getValue());
            if(!cookie.getValue().equals("0")){
                request.setAttribute("error","非法访问");
                request.getRequestDispatcher("/error.jsp").forward(request,response);
            }
        }
    }
%>
<jsp:include page="header.jsp"/>
<hr>
<div style="text-align: center"><jsp:include page="loading.jsp"/></div>
<%--<hr>--%>
<%--<jsp:include page="footer.jsp"/>--%>
</body>
</html>
